import obj from './modelA.js'
console.log(obj.sum(1, 2, 3, 4))

import { average } from './modelB.js'
console.log(average(1, 2, 3, 4))

fetch('/asimov/subscriptions/recommended_collections')
  .then((response) => {
    return response.json()
  })
  .then((value) => {
    console.log(value)
  })
